package com.example.opengl.render.base

import android.graphics.SurfaceTexture

interface IDrawer {
    fun draw()
    fun setTextureID(id: Int)
    fun release()
    fun getSurfaceTexture(cb: (surfaceTexture: SurfaceTexture) -> Unit) {}
    fun setWorldSize(worldW: Int, worldH: Int)
    fun setVideoSize(videoW: Int, videoH: Int)
}

enum class Drawer {
    point,line,triangle
}